package com.sjr.easy.chat.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;

@Data
@ApiModel("消息接收表")
public class InboxMessage {

    @ApiModelProperty("")
    private Long id;

    @ApiModelProperty("")
    private Long conversationId;

    @ApiModelProperty("消息发送人ID")
    private Long sourceUserId;

    @ApiModelProperty("消息接收人ID")
    private Long targetUserId;

    @ApiModelProperty("0 文字消息")
    private Long messageType;

    @ApiModelProperty("")
    private String message;

    @ApiModelProperty("消息发送时间")
    private Date sendTime;

    @ApiModelProperty("0 客户端待发送 1 发送成功，待分发 2 分发成功")
    private Integer status;

    @ApiModelProperty("聊天群ID，-1为无效值")
    private Long chatGroupId;

}